package com.jzxiang.pickerview.adapters;

import com.jzxiang.pickerview.config.PickerConfig;

/**
 * WheelViewAdapter
 *
 * @since 2021-07-19
 */
public interface WheelViewAdapter {
    /**
     * PickerConfig
     *
     * @return PickerConfig
     */
    PickerConfig getConfig();

    /**
     * getItem
     *
     * @param index index
     * @return String
     */
    String getItem(int index);
    /**
     * Gets items count
     *
     * @return the count of wheel items
     */
    int getItemCount();

    /**
     * setConfig
     *
     * @param mPickerConfig mPickerConfig
     */
    void setConfig(PickerConfig mPickerConfig);
}
